package com.ship.boats.service;

import com.github.pagehelper.PageInfo;
import com.ship.boats.domain.dto.*;
import com.ship.boats.domain.vo.ExportCurrencyExchangeRateInfo;
import com.ship.boats.domain.vo.QueryCurrencyConversionInfo;
import com.ship.boats.domain.vo.QueryCurrencyExchangeRateInfo;

import java.util.List;

public interface CurrencyExchangeRateService {
    boolean createCurrencyExchangeRate(CreateCurrencyExchangeRateRq rq);

    QueryCurrencyExchangeRateInfo queryCurrencyExchangeRateById(String id);

    boolean updateCurrencyExchangeRateById(UpdateCurrencyExchangeRateRq rq);

    boolean deleteCurrencyExchangeRateById(Long id);

    PageInfo<QueryCurrencyExchangeRateInfo> queryCurrencyExchangeRateList(QueryCurrencyExchangeRateRq rq);


    List<ExportCurrencyExchangeRateInfo> exportCurrencyExchangeRateList(ExportCurrencyExchangeRateRq rq);

    boolean createCashForwardData(CurveDataRq curveData);

    QueryCurrencyConversionInfo queryCurrencyConversion(QueryCurrencyConversionRq rq);
}
